import axios from "axios";
import router from "umi/router";

import util from "../../util";
export default {
  namespace: "common",
  state: {
    isLoading:false
  },
  effects: {
  },
  reducers: {
    loading(state,action){
      state.isLoading = action.isLoading;
      return { ...state };
    }
  }
};
